import Mock from 'mockjs'

Mock.mock('/api/list',{
    code:200,
    'data|10':[{
        type:'@cname(2)',
        id:'@id',
        'children|5':[{
            name:'@cname(2)',
            title:'@ctitle(6)',
            id:'@id',
            img:'@image(100x100,@color)',
            num:0,
            'price|1-10':1
        }]
    }]
})